#include "help.h"
#include "ui_help.h"
#include"QDebug"
#include<QString>
#include <QDialog>
#include <QIcon>
#include"mainscene.h"
help::help(QWidget *parent) :
    QDialog(parent),
    ui(new Ui::help)
{
    QIcon icon;
    icon.addFile(":/picture1/huiji.png");
    this->setWindowIcon(icon);
        this->setWindowTitle("帮助");
    ui->setupUi(this);
}

help::~help()
{
    delete ui;
}
void help::on_pushButton1_clicked()
{
    this->close();
    MainScene *q;
    q=new MainScene();
    q->show();

}
void help::on_pushButton2_clicked()
{
    exit(0);
}

